//
//  Common.h
//  乐清
//
//  Created by mac on 16/5/5.
//  Copyright © 2016年 Simon. All rights reserved.
//

#ifndef Common_h
#define Common_h

typedef void (^TransformUpBlock)(double timeInterval, float offset);
typedef void (^TransformDownBlock)(double timeInterval);
typedef void (^TrueOrFalseBlock)(int isTrue);
typedef void (^CustomBlock)();

#define kScreenWidth        ([UIScreen mainScreen].bounds.size.width)
#define kScreenHeight       ([UIScreen mainScreen].bounds.size.height)

#define kNavHeight 64
#define kCellHeight 50

#define iPhone6 ((kScreenHeight == 667)? YES : NO)

#define kTextFontCustom (iPhone6? 20 : (int)floor((kScreenHeight * 20 / 667) * (kScreenHeight / 667)))
#define kSpaceToSideCustom (iPhone6? 20 : (int)floor((kScreenHeight * 20 / 667)))


#endif /* Common_h */
